import { SkySteps, SkyStepItem } from './packages/ArticleSteps/'
import { SkyTable, SkyColumn } from './packages/Table/'
import { SkyMatrix, SkyMatrixRow, SkyMatrixCol } from './packages/Matrix/'
import { SkyPanel } from './packages/Panel/'
import { SkyPanelPositionGroup, SkyPanelPositionUnit } from './packages/PanelPosition/'

import { SkyTreeTable, SkyTreeColumn } from './packages/TreeTable/'


const components = [
  SkySteps, SkyStepItem,
  SkyMatrix, SkyMatrixRow, SkyMatrixCol,
  SkyTable, SkyColumn,
  SkyPanel,
  SkyPanelPositionGroup, SkyPanelPositionUnit,
  SkyTreeTable, SkyTreeColumn
]


const install = function (app, opts = {}) {

  components.forEach(component => {
    app.component(component.name, component);
  });
}

export default install